<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>
<style>
body {
background:none repeat scroll 0 0 #FFFFFF;
color:#787878;
}

body, button, input, select, textarea, th {
font:12px/1.5 Tahoma,"hiragino sans gb",Helvetica,Arial;
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, fieldset, lengend, button, input, textarea, th, td {
margin:0;
padding:0;
}
h1, h2, h3, h4, h5, h6 {
font-size:100%;
}
a {
color:#056EA1;
}

a {
text-decoration:none;
}
img {
display:block;
}

fieldset, img {
border:medium none;
}
ul, ol, li {
list-style:none outside none;
}
.clearfix {
}
.clearfix:after {
clear:both;
content:".";
display:block;
font-size:0;
height:0;
line-height:0;
visibility:hidden;
width:0;
}
</style>

</head> 
<body> 

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='top2'  iconname='top2' />
<!-- 顶部结束 alltop.html -->



<div class="clearfix" style="margin:0 auto;width:960px;">

	<div  style="width:220px;float:left;margin:0 10px;overflow:hidden;">

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='icon_l10'  iconname='icon_l10' />
<!-- 顶部结束 alltop.html -->

    </div>
	<div  style="width:600px;float:left;margin:0 10px;overflow:hidden;">

        <div style=" height:20px;"></div>

<style>
.mod_toolbar {
height:40px;
overflow:hidden;
}
.mod_sub_tab .current {
background:none repeat scroll 0 0 #056EA1;
color:#FFFFFF;
cursor:default;
font-weight:bold;
padding:0 10px;
}

.mod_sub_tab a {
display:inline-block;
}
.mod_sub_tab a {
display:inline-block;
padding:0 6px;
}
</style>
		
		<div class="mod_toolbar">
			<p class="mod_sub_tab ">

			  <a  class="current" href="#">模板列表</a>
			
			</p>

		</div>


<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>

<tr>
	<td colspan="5" class="f14"><img src="{$web_view_dir}style/images/it_nav.gif" align="absmiddle" border="0" /> 用户模板</td>
</tr>
                          

 
<tr>
	<td class="bold" width="120px">模板截图</td>
	<td class="bold" width="20%">模板名称标题</td>
	<td class="bold" width="20%">模板文件夹名称</td>
	<td class="bold" width="30%">模板描述</td>
	<td class="bold" width="100px">样式选择</td>    
	<td class="bold"  width="150px">操作</td>
</tr>

                                 
<!--{foreach($infos as $_key => $_value )}-->                                  

  <tr   onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

    <td ><img src="{SITE_URL}/scup/view/{$_key}/config/{$_value.image}" width="100px" height="100px" /></td>
    <td >{$_value.title}</td>
	<td >{$_key}</td>
    <td >{$_value.description}</td>
    
	<td >
 <select  onchange="ato_url('index.php?app=company&act=view&action=setcss&view={$_key}',this);" id="orderby">
<option class="txtgreen" value="0" >请选择...</option>
<!--{foreach($_value.style as $_key1 => $_value1 )}-->
<option value="{$_key1}"  <!--{if ($old_cssstyle==$_key1)}--> selected="selected" <!--{/if}--> >{$_value1.title}</option>
<!--{/foreach}-->
</select>   
    </td>
	
    <td>
	<!--{if ($_key == $old_viewstyle)}-->...<!--{else}--><a href="?app=company&act=view&action=lstatus&id={$_key}" onclick="return confirm('模板启用确认！此操作将会更改模板的使用 ！');">启用</a><!--{/if}-->
	
	
    
	</td>
	
 </tr>
 
<!--{/foreach}-->



 
 
 
 </tbody>
</table>

<script language="javascript" type="text/javascript">

function to_url(url){
	document.location.href = url;
}

function ato_url(url,obj){
	document.location.href = url+"&v="+obj.value;
}


</script> 


	</div>

</div>



<!-- 顶部开始 footer.html -->
<phpscup:icon   htmlname='footer1'  iconname='footer' />
<!-- 顶部结束 footer.html -->


</body>
</html>
